/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DBConnection;

import java.util.Date;

/**
 *
 * @author KASTAK
 */
public class ATeamObject {
    private int objectId;
    private int price;
    private int priceMax;
    private int typeOfPrice;
    private String name;
    private String objectDescription;
    private boolean containName;
    private int number;
    private int parentId;
    private int typeOfObject;
    private Date createDate;
    private Date lastModifyDate;
    private int manufacturerId;

    public ATeamObject(){
        objectId=0;
        price=0;
        priceMax=0;
        typeOfPrice=0;
        name = null;
        objectDescription = null;
        containName = false;
        parentId = 0;
        number=0;
        typeOfObject = 0;
    }

    public void setManifacturerId(int manufacturerId_){
        manufacturerId = manufacturerId_;
    }

    public int getManufacturerId(){
        return manufacturerId;
    }

    public void setTypeOfObject(int typeOfObject_){
        typeOfObject = typeOfObject_;
    }

    public int getTypeOfObject(){
        return typeOfObject;
    }

    public Date getCreateDate(){
       return createDate;
    }

    public Date getLastModifyDate(){
        return  lastModifyDate;
    }

    public String getObjectDescription(){
        return objectDescription;
    }

    public void setObjectDescription(String objectDescription_){
        objectDescription = objectDescription_;
    }

    public void setTypeOfPrice(int typeOfPrice_){
       typeOfPrice = typeOfPrice_;
    }
    public void setPriceMax(int priceMax_){
        priceMax= priceMax_;
    }
    public void setContainName(){
        containName = true;
    }
    public void setObjectId(int objectId_){
        objectId=objectId_;
    }
    public void setPrice(int price_){
        price=price_;
    }
    public void setName(String name_){
        name=name_;
    }
    public void setNumber(int number_){
        number=number_;
    }
    public int getParentId(){
        return parentId;
    }
    public void setParentId(int parentId_){
        parentId = parentId_;
    }
    public int getTypeOfPrice(){
        return typeOfPrice;
    }
    public int getPriceMax(){
        return priceMax;
    }
    public boolean getContainName(){
        return containName;
    }
    public int getObjectId(){
        return objectId;
    }
    public int getPrice(){
        return price;
    }
    public String getName(){
        return name;
    }
    public int getNumber(){
        return number;
    }
}
